package com.lianwei.hospital.enums;

import lombok.Getter;

@Getter
public enum ResultEnum {
    SUCCESS(200,"成功"),
    INNER_ERROR(1001,"未知错误"),
    VALID_ERROR(2001,"数据检验错误"),
    NOT_FOUND(6001,"数据没有找到");

    private final Integer value;
    private final String description;
    ResultEnum(Integer value, String description){
        this.value=value;
        this.description =description;
    }

}
